package a.h;

import javax.swing.*;
import java.awt.*;
import java.util.Map;

class l
  extends h
{
  private JScrollPane q;
  
  public l(ec paramec, Map paramMap)
  {
    this(paramec, paramMap, true);
  }
  
  public l(ec paramec, Map paramMap, boolean paramBoolean)
  {
    this(paramec, paramMap, new JTextArea(b(paramec, paramMap), c(paramec, paramMap)));
    if (ec.t == 0)
    {
      this.p.setEditable(paramBoolean);
      if (!paramBoolean) {
        this.p.setBackground(null);
      }
    }
    Object localObject = paramec.c("CommentOptionItem.fontSize");
    if ((localObject instanceof Number)) {
      this.p.setFont(this.p.getFont().deriveFont(((Number)localObject).floatValue()));
    }
  }
  
  l(ec paramec, Map paramMap, JTextArea paramJTextArea)
  {
    super(paramec, paramMap, paramJTextArea);
    paramJTextArea.setLineWrap(true);
    paramJTextArea.setWrapStyleWord(true);
    this.q = new JScrollPane(paramJTextArea);
    c(paramec.f());
  }
  
  Color e(boolean paramBoolean)
  {
    return paramBoolean ? ad.a("TextArea.background") : ad.a("TextArea.inactiveBackground");
  }
  
  public JComponent f()
  {
    return this.q;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.h.l

 * JD-Core Version:    0.7.0.1

 */